package tech.dongliang.system.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import tech.dongliang.common.model.CommonModel;

/**
 * <p>
 * 
 * </p>
 *
 * @author xdzhang
 * @since 2019-01-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysDict extends CommonModel{

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 标签名
     */
    private String name;

    /**
     * 数据值
     */
    private String value;

    /**
     * 类型
     */
    private String type;

    /**
     * 描述
     */
    private String desc;

    /**
     * 排序
     */
    @TableField("orderNum")
    private Integer orderNum;

    /**
     * 父级编号
     */
    private Integer pid;

    @TableField("createUserId")
    private Integer createUserId;

    @TableField("createTime")
    private Long createTime;

    @TableField("updateTime")
    private Long updateTime;

    /**
     * 备注
     */
    private String remark;

    /**
     * 是否删除  -1：已删除  0：正常
     */
    @TableField("delFlag")
    private Integer delFlag;

}
